-- GENERATED SPELL FOR [Loot Crazed Poacher] --


function spell0_25806(pUnit, Event) --@Stealth,Self--
pUnit:FullCastSpellOnTarget(34189,pUnit)
pUnit:RegisterEvent('Sorts_25806', 607, 1)
end

function Sorts_25806(pUnit, Event)
local choix_sorts_25806 = math.random(0, 0)
if choix_sorts_25806 == 0 then
pUnit:RegisterEvent('spell0_25806', 1, 1)
end
end

function mob25806_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25806', math.random(1500, 3000), 1)
end

function mob25806_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25806_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25806_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25806, 1, 'mob25806_Action')
RegisterUnitEvent(25806, 2, 'mob25806_Leave')
RegisterUnitEvent(25806, 3, 'mob25806_Kill')
RegisterUnitEvent(25806, 4, 'mob25806_Die')
